﻿using System;
using CamPlug.Api;

namespace CamPlug.CurrentTime.Plugin
{
	public class CurrentTimePluginFactory : IPluginFactory
	{
		public string Name
		{
			get { return CurrentTimePlugin.Name; }
		}

		public string Description
		{
			get { return "Displays the current date & time"; }
		}

		public bool TryCreatePlugin(out IPlugin plugin)
		{
			plugin = new CurrentTimePlugin();
			return true;
		}
	}
}
